package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SURPLUS_ACC")
@ApiModel(value="PcSurplusAcc对象", description="")
public class PcSurplusAcc implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "仓库号")
    private String stockNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "最近收料日期")
    private LocalDateTime recDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "最近发料日期")
    private LocalDateTime traDate;

    @ApiModelProperty(value = "物料ID")
    private String mtlNo;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "物料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "物料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "物料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "入库数")
    private BigDecimal inQty;

    @ApiModelProperty(value = "出库数")
    private BigDecimal outQty;

    @ApiModelProperty(value = "库存数")
    private BigDecimal stkQty;


}
